package router

import (
	"server/controller"
	"github.com/gogf/gf/v2/net/ghttp"
)




func GroupInit(group *ghttp.RouterGroup) *ghttp.RouterGroup {
	conn := controller.NewSchoolController()

	group.POST("/createStudent", conn.CreateStudent)//添加学生
	group.POST("/createTeacher", conn.CreateTeacher) //添加老师
	group.POST("/queryMemberById", conn.QueryMemberById) //人员查询 ID
	return group
}